package cn.shadow.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "users")
public class UserInfo {
    @Id
    private Integer id;
    @Column(name = "server_id")
    private Integer serverID;

    @Column(name = "operator_id")
    private Integer operatorID;

    @Column(name = "update_time")
    private Long updateTime;

    @Column(name = "create_time")
    private Long createTime;

    @Column(name = "username")
    private String username;

    @Column(name = "player_id")
    private Long playerId;

    @Column(name = "player_data")
    private byte[] playerData;

    @Column(name = "player_name")
    private String playerName;

    @Column(name = "player_create_time")
    private Long playerCreateTime;

}
